package com.gitee.cirnochat.common.constant;

import java.time.Duration;

public interface MQConstant {
    String CHAT_QUEUE_NAME = "chat";

    String MESSAGE_EXCHANGE = "chat.message.exchange";

    Duration MESSAGE_EXPIRE_MINUTES = Duration.ofMinutes(5); // 消息过期时间，单位分钟
}
